package com.liu.community.mapper;/*
 *@Author:Liu Xing-zhi
 *Description:
 *Date:Crated in 16:25 2021/11/11
 */

import com.liu.community.pojor.TagResponseDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface TagPesponseDtoMapper {

    //单独走非模糊查询,比如Java  JavaScript，spring  springCloud
    TagResponseDto queryCommentAndCount(@Param("tag")String tag);

    //模糊查询，没有重复关键字标签
    TagResponseDto queryCommentAndLikeCount(@Param("tag")String tag);
}
